package com.example.service;

import com.example.pojo.*;

import java.util.List;

public interface AuthorService {
    //分页查询
    PageResult<Author> page(AuthorQueryParam authorQueryParam);
    //    PageResult<Emp> page(Integer page, Integer pageSize,
//                         String name, Integer gender,
//                         LocalDate begin,
//                         LocalDate end);
    void save(Author emp);

    void delete(List<Integer> ids);

    Author getInfo(Integer id);

    void update(Author author);
    List<Author> showByauthor();


}
